package com.biomatch.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.biomatch.domain.Fingerprint;
import com.biomatch.dto.FingerprintCount;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface FingerprintMapper extends BaseMapper<Fingerprint> {



    List<FingerprintCount> getFingerprintCountAndUsersByPage(Map<String, Object> params);

    long findUserCountByMap(Map<String, Object> params);

    List<Fingerprint> FindFingerPrintsByUser(String userId);

    void deleteByUserId (String userId);
}
